package com.github.springcloud.order.api;

import com.github.springcloud.order.dto.CreateOrderDto;
import com.github.springcloud.order.vo.OrderVo;

/**
 * Created by zhaozuowen on 2018/7/12.
 *
 * 订单相关的service接口
 */
public interface OrderService {

    /**
     * 创建订单
     * @param createOrderDto
     */
    public void createOrder(CreateOrderDto createOrderDto);

    /**
     * 根据订单号查询订单信息
     * @param orderNo
     * @return
     */
    public OrderVo getByOrderNo(String orderNo);


}
